package com.wanxi.test;
//一维数组，遍历所有元素
public class RunOneArray {
    public static void main(String[] args) {
        int[] array = {11, 22, 33, 44, 55, 66, 77};

        int length = array.length;

        for (int i = 0; i < length; i++) {

            System.out.println(array[i]);

        }
    }

}
